package com.rmfyzxfw.caseprocess.mapper;


import com.rmfyzxfw.caseprocess.model.dynamic.query.CommonFieldQry;
import com.rmfyzxfw.caseprocess.model.dynamic.query.DynamicFormDataQuery;
import com.rmfyzxfw.caseprocess.model.vo.ColumnInfoVO;
import com.rmfyzxfw.caseprocess.model.vo.TableInfoVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * 引擎数据动态表映射器
 */
public interface EngineDataDynamicTableOracleMapper {



    List<Map<String, Object>> findList(DynamicFormDataQuery query);

    List<Map<String, Object>> findPage(DynamicFormDataQuery query);

    Long count(DynamicFormDataQuery query);

    List<Map<String, Object>> getBySql(String sql);

    List<ColumnInfoVO> getColumnList(@Param("tableName") String tableName);

    List<TableInfoVO> getTableList(@Param("dbName") String dbName);

    String getOne(CommonFieldQry qry);
}

